/*布局*/
.g-hd{
    height: 35px;
}
/*顶部条*/
.g-hd .m-topbar{
    height: 35px;
    min-width: 980px;
    border-bottom: 1px solid #dcdcdc;
    background: #fafafa;
}
/*顶部条内部*/
.g-hd .m-topbar .inner{
    width: 980px;
    margin: 0 auto;
    position: relative;/*外部相对*/
}
/*左侧导航*/
.g-hd .m-topbar ul.sns{
    float: left;
}
.g-hd ul.sns li{
    float: left;
}
.g-hd ul.sns li a,.g-hd ul.sns li span.sep{
    display: block;
    height: 35px;
    line-height: 35px;
    margin: 0 5px;
    color: #888;
}
.g-hd ul.sns li a:hover{
    color:red ;
}
.g-hd ul.sns li:hover .m-codelayer{
    display: block;
}
/*todo 公众号*/
.g-hd .m-topbar .inner .m-codelayer{
    display: none;
    width: 100px;
    height: 120px;
    position: absolute;
    top: 30px;
    left: 298px;
}
.g-hd .m-topbar .inner .m-codelayer img{
    width: 100px;
    height: 120px;
}
/*右边的登录注册*/
.g-hd .m-topbar .ulink{
    float: right;
    position: relative;
}
/* .g-hd .m-topbar .ulink .layer{
     position: relative;
} */
.g-hd .m-topbar .ulink a,.g-hd .m-topbar .ulink span{
    display: block;
    height: 35px;
    margin: 0 5px;
    float: left;
    line-height: 35px;
    color: #888;
}
.g-hd .m-topbar .ulink a:hover{
    color:red ;
}
.g-hd .m-topbar .ulink a.login{
    padding-right: 12px;
    background-image: url('../images/beijing1.png');
    background-repeat: no-repeat;
    background-position: 18px;
}
.g-hd .m-topbar .layer .login-layer{
    position: absolute;
    width: 156px;
    height: 156px;
    border: 1px solid #888;
    border-radius: 5px;
    top: 40px;
    left: -50px; 
    display: none;
}
.g-hd .m-topbar .layer:hover .login-layer{
    display: block;
}
.g-hd .m-topbar .ulink .login-layer li{
    display: block;
    margin: 0 10px;
    height: 36px;
    border-bottom:  1px #c9483c dashed;
}
.g-hd .m-topbar .ulink .login-layer a{
    display: block;
    margin-left: 10px;
    height: 36px;
    line-height: 41px;
    padding-left: 24px;
    margin-bottom: -34px;
}
.g-hd .m-topbar .ulink .login-layer a.child1{
    background-image:url('../images/yi.png');
    background-repeat: no-repeat;
    background-position: 0 9px;
}
.g-hd .m-topbar .ulink .login-layer .sanjiao{
    position: absolute;
    top: -21px;
    left: 74px;
}
.g-hd .m-topbar .ulink .login-layer .sanjiao img{
    width: 5px;
    height: 5px;
}
/* 主题logo */
.g-hd .m-headtop{
    min-width: 980px;
    height: 106px;
}
.g-hd .m-headtop .inner{
    width: 980px;
    margin: 0 auto;
}
.g-hd .m-headtop .m-logo{
    float: left;
    width: 194px;
    height: 36px;
    overflow: hidden;
    margin-top: 40px;
}
.g-hd .m-headtop .m-logo img{
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 8px;
}
.g-hd .m-headtop .m-logo h1{
    font-size:24px;
    font-weight: bold;
}
/* 搜素栏 */
.g-hd .m-headtop .m-sch{
    float: left;
    width: 400px;
    height: 36px;
    margin: 40px 0 0 88px;
}
.g-hd .m-headtop .m-sch input.kua{
    color: #868686;
    font-size: 14px;
    line-height: 14px
}
.g-hd .m-headtop .m-sch input{
    float: left;
    width: 336px;
    height: 14px;
    padding: 10px;
    border: #c9483c 1px solid;
    background: #fff;
}
.g-hd .m-headtop .m-sch button{
    width:37px ;
    height: 36px;
}
.g-hd .m-headtop .m-sch button img{
    margin-top: -2px;
    margin-left: -2px;
}
/* 右侧书架订阅 */
.g-hd .m-headtop .m-clouds{
    float: right;
    margin: 40px 0 0;
}
.g-hd .m-headtop .m-clouds a{
    float: left;
    margin: 0px;
    width: 95px;
    height: 34px;
    padding: 0 0 0 10px;
    line-height: 34px;
    font-size: 14px;
    color: #655;
    border: 1px solid #ebe6e1;
}
.g-hd .m-headtop .m-clouds .m-cloudzx{
    background-position: 13px -121px;
}
.g-hd .m-headtop .m-clouds .m-cloudsj{
    background-position: 13px -175px;
    margin-left: -1px;
}
.g-hd .m-headtop .m-clouds img{
    margin-bottom: -5px;
    padding-right: 3px;
}
/* 标题行 */
.g-hd .m-heardbottom{
    min-width: 980px;
    height: 41px;
}
.g-hd .m-heardbottom .inner{
    width: 980px;
    height: 36px;
    margin: 0 auto;
    border-bottom: 2px solid #665656;
}
.g-hd .m-heardbottom .inner .m-mainlist li{
    float: left; 
    height: 36px;
    line-height: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.g-hd .m-heardbottom .m-mainlist a:hover{
    color: #c9483c;
    border-bottom: 2px solid #c9483c;
}
.g-hd .m-heardbottom .m-mainlist a{
    display: block;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 700;
}
.g-hd .m-heardbottom .inner .m-mainlist li.fr{
    float: right;
    margin-left:28px;
}
.g-hd .m-heardbottom .inner .m-mainlist img{
    margin-right: 4px;
}
.g-hd .m-heardbottom .inner .m-mainlist li.fr a{
    padding: 0 0 0 22px;
}
/* 主题内容 */
.g-bd{
    position: relative;
  }
.g-bd .g-mn{
    width: 980px;
    margin: 0 auto;
}
.g-bd .g-sec{
    margin-top: 40px;
    zoom: 1;
  }
  .g-bd .g-mn .g-sec .m-slide{
    width: 720px;
    height: 380px;
    float: right;
    margin-top: 17px;
  }
  .g-bd .m-menu{
    position: relative;
    float: left;
    padding-bottom: 1px;
    width: 236px;
    border: 2px solid #e0dcd7;
    margin-top: 17px;
  }
  .g-bd .m-menu .category{
    position: relative;
  }
  .g-bd .m-menu .category .sub{
   padding: 0 0 11px;
   border: 1px solid #e0dcd7;
  }
  .g-bd .m-menu .sub h3{
    position: relative;
    height: 20px;
    line-height: 20px;
    padding: 12px 20px 2px;
    background-position: 0 -86px;
    font-size: 16px;
    color: #4c4c4c;
    font-weight: 700;
  }
  .g-bd .m-menu .sub p{
    height: 24px;
    line-height: 24px;
    padding: 0 18px;
  }
  .g-bd .m-menu .sub span{
    color: #a1a1a1;
    padding: 0 10px;
  }
  .g-bd .m-menu .sub .hot{
    color: #c9483c;
  }
  /* 主编推荐 */
/* .g-sec{
    margin-top: 40px;
  } */
.g-sec header{
    margin-bottom: 18px;
    position: relative;
    top: 560px;
    left: -680px;
}
  .g-sec header h2{
    font-size: 18px;
    line-height: 18px;
    color: #000;
  }
  
  .g-sec .m-focus{
    position: relative;
  }
  .g-sec .m-focus .tabs{
    height: 32px;
    position: absolute;
    top: 519px;
    left: 93px;
  }
  .g-sec .m-focus .tabs ul li{
    float: left;
    display: inline;
    height: 32px;
    line-height: 32px;
    text-align: center;
  }
  .g-sec .m-focus .tabs ul li.crt{
    color: #c9483c;
    font-size: 14px;
  }

  .g-sec .m-focus .tabs ul span{
    color: #a1a1a1;
    padding: 0 10px;
    font-size: 12px;
  }
  .g-sec .m-focus .tabs ul li.ll{
    font-size: 14px;
    color: #655;
  }
  /*  */
  .g-sec .contents{
    border: 1px solid #ebe6e1;
  }
  .g-sec .book li{
    float: left;
    padding: 20px;
    width: 285px;
    border-right: 1px solid #ebe6e1;
}
.g-sec .book li .cover{
    float: left;
    display: inline;
    width: 114px;
    height: 160px;
    margin: 0 15px 0 0;
    overflow: hidden;
}
.g-sec .book li .cover img{
    width: 114px;
    height: 160px;
    box-shadow: 1px 1px 3px #aaa;
}
.g-sec .book h3{
    max-height: 44px;
    line-height: 22px;
    overflow: hidden;
    font-size: 16px;
    color: #655;
    font-weight: 700;
}
.g-sec .book p{
    color: #888;
    line-height: 18px;
    margin: 6px 0 5px;
}
.g-sec .book p.disc{
    height: 54px;
    line-height: 18px;
    letter-spacing: 1px;
    overflow: hidden;
}
.g-sec .book .read{
    position: absolute;
    bottom: -3px;
    left: 130px;
    color: #655;
    font-weight: 700;
}
/* 页尾 */